angular.module('myApp', ['ngRoute','perApp','addreApp','massge','friendApp','carsApp','makebillApp','myorderApp','orderinfoApp','myinfoApp'])
				.config(['$routeProvider', function($routeProvider) {
					$routeProvider
						.when('/personLikes', {
							templateUrl: 'pages/personLikes.html',
		                    controller: "mc3"
						})
						.when('/personAdress', {
							templateUrl: 'pages/personAdress.html',
		                    controller: "mc1"
						})
						.when('/personMassge', {
							templateUrl: 'pages/personMassge.html',
		                    controller: "mas"
						})
						.when('/personguzu', {
							templateUrl: 'pages/personguzu.html',
		                    controller: "guzu"
						})
						.when('/personalco', {
							templateUrl: 'pages/friend.html',
		                    controller: "friends"
						})
						.when('/personcar', {
							templateUrl: 'pages/personcar.html',
		                    controller: "car"
						})
						.when('/makebill', {
							templateUrl: 'pages/makebill.html',
		                    controller: "bill"
						})
						.when('/myorder', {
							templateUrl: 'pages/myorder.html',
		                    controller: "order"
						})
						.when('/orderinfo', {
							templateUrl: 'pages/orderinfo.html',
		                    controller: "orderinfo"
						})
						.when('/orderbuy', {
							templateUrl: 'pages/orderbuy.html',
		                    controller: "orderbuy"
						})
						.when('/myinfo', {
							templateUrl: 'pages/myinfo.html',
		                    controller: "myinfo"
						})
						.otherwise({
							templateUrl: 'pages/personInfo.html',
		                    controller: "mc1"
						});
				}]);